package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务数据对象 sys_lottery
 *
 * @author ruoyi
 * @date 2024-08-08
 */
public class SysLottery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 期数 */
    @Excel(name = "期数")
    private Long periods;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 双 */
    @Excel(name = "双")
    private String doubleNum;

    /** 单 */
    @Excel(name = "单")
    private String singleNum;

    /** 直选 */
    @Excel(name = "直选")
    private String directElection;

    /** 结果 */
    @Excel(name = "结果")
    private Long ofLottery;

    /** 1准 2错 */
    @Excel(name = "1准 2错")
    private Long misalignment;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getId()
    {
        return id;
    }
    public void setPeriods(Long periods)
    {
        this.periods = periods;
    }

    public Long getPeriods()
    {
        return periods;
    }
    public void setDoubleNum(String doubleNum)
    {
        this.doubleNum = doubleNum;
    }

    public String getDoubleNum()
    {
        return doubleNum;
    }
    public void setSingleNum(String singleNum)
    {
        this.singleNum = singleNum;
    }

    public String getSingleNum()
    {
        return singleNum;
    }
    public void setDirectElection(String directElection)
    {
        this.directElection = directElection;
    }

    public String getDirectElection()
    {
        return directElection;
    }
    public void setOfLottery(Long ofLottery)
    {
        this.ofLottery = ofLottery;
    }

    public Long getOfLottery()
    {
        return ofLottery;
    }
    public void setMisalignment(Long misalignment)
    {
        this.misalignment = misalignment;
    }

    public Long getMisalignment()
    {
        return misalignment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("periods", getPeriods())
            .append("doubleNum", getDoubleNum())
            .append("singleNum", getSingleNum())
            .append("directElection", getDirectElection())
            .append("ofLottery", getOfLottery())
            .append("misalignment", getMisalignment())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
